//
//  XRmenuFileManage.h
//  XRmenu
//
//  Created by Gao Yan on 11-11-23.
//  Copyright 2011年 foxhis. All rights reserved.
//

#import "AllInclude.h"

@interface XRmenuFileManage : NSObject {

}
#pragma mark 目录获取方法
+ (NSString *)documentPath;
+ (NSString *)nativeDocumentPath;
+ (NSString *)boundlePath;
+ (NSString *)savedataFile;
+ (NSString *)savedataFile:(NSString*)plistname;
+ (void) checkSaved;
+ (void) initSaved:(BOOL)isnew;

#pragma mark 文件基本操作
+ (BOOL)filesCopy:(NSString *)sName TargetName:(NSString *)tName;
+ (BOOL)fileDelete:(NSString *)sName;
+ (NSArray *)allFilesInFolder:(NSString *)folderName;
+ (NSArray *)allContentsInPath:(NSString *)directoryPath;
+ (NSArray *)allFilesInPathAndItsSubpaths:(NSString *)directoryPath;
+ (BOOL)fileExistByPath:(NSString *)storePath;
+ (BOOL)fileAttributes:(NSString *)fileName targetSize:(NSInteger)fileSize;

#pragma mark 指定文件获取方法
+ (NSString *) getViewConfigFile;
+ (NSString *) getTranslate;
+ (NSString *) getOEMImageFile:(XRmenuError**)outError;
@end
